import java.util.Scanner;
import java.text.DecimalFormat;
public class ballPP35
{
	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		double num1,num2,num3;
		System.out.print("radius:");
		num1 = in.nextDouble();
		num2 = 4/3 * Math.PI * Math.pow(num1,3);
		num3 = 4 * Math.PI * Math.pow(num1,2);
		DecimalFormat fmt = new DecimalFormat ("0.####");
		System.out.println("Volume:" + fmt.format(num2));
	        System.out.println("Surface area:" + fmt.format(num3));
	}
}
